import Layout from '@/layout'
const systemManageManage = {
  path: '/system',
  component: Layout,
  redirect: '/system/iamRole',
  name: 'system',
  meta: {
    title: '系统管理',
    icon: 'el-icon-setting',
    roles: ['SYSTEM_USER', 'TENANT_USER', 'ORG_USER']
  },
  children: [
    {
      path: '/system/role',
      component: () => import('@/views/system/role/roleList'),
      name: 'system-role',
      meta: { title: '角色管理', roles: ['SYSTEM_USER', 'TENANT_USER', 'ORG_USER'] }
    },
    {
      path: '/system/user',
      component: () => import('@/views/system/user/userList'),
      name: 'system-user',
      meta: { title: '用户管理', roles: ['SYSTEM_USER', 'TENANT_USER', 'ORG_USER'] }
    },
    {
      path: '/system/userSetting',
      component: () => import('@/views/system/userSetting/index'),
      name: 'userSetting',
      meta: { title: '个人设置', roles: ['ORG_USER'] }
    },
    {
      path: '/system/waybillConfig',
      component: () => import('@/views/system/waybillConfig/index'),
      name: 'waybillConfig',
      meta: { title: '运单配置', roles: ['ORG_USER'] }
    }
  ]
}
export default systemManageManage
